package entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class CommunityInfo {
    private int comId;
    private int classifyId;
    private String comName;
    private Double comPrice;
    private Double comCount;
    private String classifyName;

    public CommunityInfo(int comId,String classifyName, String comName, Double comPrice, Double comCount ) {
        this.comId = comId;
        this.comName = comName;
        this.comPrice = comPrice;
        this.comCount = comCount;
        this.classifyName = classifyName;
    }

    public CommunityInfo(int comId, int classifyId, String comName, Double comPrice, Double comCount) {
        this.comId = comId;
        this.classifyId = classifyId;
        this.comName = comName;
        this.comPrice = comPrice;
        this.comCount = comCount;
    }

    public CommunityInfo(int classifyId, String comName, Double comPrice, Double comCount) {
        this.classifyId = classifyId;
        this.comName = comName;
        this.comPrice = comPrice;
        this.comCount = comCount;
    }
}
